﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo09
{
    class Plane : Vehicle, Takeoff, IFly, Land
    {
        public Plane(string carryPassage) : base(carryPassage) { 
        
        }
        public void Fly()
        {
            Console.WriteLine("能飞");
        }

        public void La()
        {
            Console.WriteLine("能落地");
        }

        public void Take()
        {
            Console.WriteLine("能起飞");
        }
    }
}
